﻿// Original author contact info: Owen Emlen (owene_1998@yahoo.com)
// Note: other individuals may also have contributed to this code
// Project hosted on CodePlex.com as of 1/10/2009 at http://www.codeplex.com/EmlenMud
using System;
using System.Runtime.Serialization;
using System.ComponentModel;

namespace BrainTechLLC
{
	public static class Directions
	{
		public class Direct
		{
			public DirectionInt this[GeneralDirection dir] { get { return DirectionInt.VectorsForDirections[(int)dir]; } }
			public GeneralDirection this[DirectionInt dir] { get { return dir.CardinalDirection; } }
		}

		public static readonly Direct Dir = new Direct();		
	}
}
